<!DOCTYPE html>
<html>
<head>
    <title>Using table content in a HTML form</title>
    <meta charset="utf-8">
    <link rel="stylesheet" href="../assets/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="../assets/bootstrap-table/src/bootstrap-table.css">
    <link rel="stylesheet" href="../assets/examples.css">
    <script src="../assets/jquery.min.js"></script>
    <script src="../assets/bootstrap/js/bootstrap.min.js"></script>
    <script src="../assets/bootstrap-table/src/bootstrap-table.js"></script>
    <script src="../ga.js"></script>
</head>
<body>
    <div class="container">
        <h1>Using table content in a HTML form(<a href="https://github.com/wenzhixin/bootstrap-table/issues/371" target="_blank">#371</a>).</h1>
        <form action="371.html" method="get">
            <input class="btn btn-default" type="submit" value="Submit">
            <table id="table"
                   data-toggle="table"
                   data-url="../json/data1.json"
                   data-id-field="id"
                   data-select-item-name="input"
                   data-toolbar=":submit">
                <thead>
                <tr>
                    <th data-checkbox="true" data-field="state"></th>
                    <th data-field="id">ID</th>
                    <th data-field="name">Item Name</th>
                    <th data-field="price">Item Price</th>
                </tr>
                </thead>
            </table>
        </form>
    </div>
</body>
</html>